package com.xoms.admin.model;

import java.sql.Timestamp;

public class ProductBean {
	private String pid; // 商品id
	private String name; // 商品名称
	private String productNo; // 商品编号
	private String productBar; // 商品条形码
	private String initial; // 名称首字母
	private String category; // 分类名称
	private String categoryArr; // 分类数组
	private String categoryId;// 分类id
	private String imgUrl; // 商品图片
	private String specs; // 商品规格
	private Integer unitId; // 单位
	private String remark; // 描述
	private Integer type; // 商品类型：1成品2加工品3套餐4原料
	private Double price; // 商品价格
	private Timestamp createTime;//创建时间
	private Integer saleStatus; // 商品售卖状态
	private Timestamp startTime; // 上架时间
	private Timestamp endTime; // 下架时间
	private String accountId;//	创建人
	private String status;//状态：1可售2可赠3可积分兑换。三个状态可同时：1，2，3
	private String unit;// 单位名称
	private Integer warnNum;// 预警数量
	private Integer maxNum;// 最大容量
	private Integer costType;// 成本核算方式
	private Double antiPrice;// 预估价格
	private String account;
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getProductNo() {
		return productNo;
	}
	public void setProductNo(String productNo) {
		this.productNo = productNo;
	}
	public String getProductBar() {
		return productBar;
	}
	public void setProductBar(String productBar) {
		this.productBar = productBar;
	}
	public String getInitial() {
		return initial;
	}
	public void setInitial(String initial) {
		this.initial = initial;
	}

	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public String getImgUrl() {
		return imgUrl;
	}
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}
	public String getSpecs() {
		return specs;
	}
	public void setSpecs(String specs) {
		this.specs = specs;
	}
	public int getUnitId() {
		return unitId;
	}
	public void setUnitId(int unitId) {
		this.unitId = unitId;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Timestamp getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
	public String getAccountId() {
		return accountId;
	}
	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public void setUnitId(Integer unitId) {
		this.unitId = unitId;
	}
	public Integer getWarnNum() {
		return warnNum;
	}
	public void setWarnNum(Integer warnNum) {
		this.warnNum = warnNum;
	}
	public Integer getMaxNum() {
		return maxNum;
	}
	public void setMaxNum(Integer maxNum) {
		this.maxNum = maxNum;
	}
	public Integer getCostType() {
		return costType;
	}
	public void setCostType(Integer costType) {
		this.costType = costType;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public Integer getSaleStatus() {
		return saleStatus;
	}
	public void setSaleStatus(Integer saleStatus) {
		this.saleStatus = saleStatus;
	}
	public Timestamp getStartTime() {
		return startTime;
	}
	public void setStartTime(Timestamp startTime) {
		this.startTime = startTime;
	}
	public Timestamp getEndTime() {
		return endTime;
	}
	public void setEndTime(Timestamp endTime) {
		this.endTime = endTime;
	}
	public String getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}
	public String getCategoryArr() {
		return categoryArr;
	}
	public void setCategoryArr(String categoryArr) {
		this.categoryArr = categoryArr;
	}
	public Double getAntiPrice() {
		return antiPrice;
	}
	public void setAntiPrice(Double antiPrice) {
		this.antiPrice = antiPrice;
	}
}
